package com.guslegend.spzx.manager.mapper;

import com.guslegend.spzx.model.entity.system.SysMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: guslegend
 * @description: 菜单管理
 * @create: 2025-05-09 08:50
 **/
@Mapper
public interface SysMenuMapper {
    List<SysMenu> selectAll();


    void insert(SysMenu sysMenu);

    void updateById(SysMenu sysMenu);

    int countByParentId(Long id);

    void deleteById(Long id);

    List<SysMenu> selectListByUserId(Long userId);
}
